import axios from '@/http/axios'

export const login = (data) => {
    return axios.post('/login', data)
}
export const getDataBykey = (data) => {
    return axios.post('/shop/getDataBykey', data)
}
// 添加商品
export const addShop = (data) => {
    return axios.post('/shop/addShop', data)
}
export const modiData = (data) => {
    return axios.post('/shop/modiShop', data)
}
export const deleData = (data) => {
    return axios.post('/shop/deleShop', data)
}